package com.wangy.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author yyzb
 * @date 2024/12/28 11:01
 */

@Component
@ConfigurationProperties(prefix = "yuntai.jwt")
@Data
public class JwtProperties {
    private String adminSecretKey;
    private long adminTtl;
    private String adminTokenName;
}
